﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IOA.MES.DataAccess.VModel
{
    /// <summary>
    /// 条码操作
    /// </summary>
    public class VDistributeCodeOperate : BaseVModel
    {
        private string _code = string.Empty;

        #region Public Property
        ///<Summary>
        /// 任务ID
        ///</Summary>
        public int TaskId { get; set; }

        ///<Summary>
        /// 条码ID
        ///</Summary>
        public int CodeId { get; set; }

        ///<Summary>
        /// 条码
        ///</Summary>
        public string Code
        {
            get { return string.IsNullOrWhiteSpace(_code) ? string.Empty : _code; }
            set { _code = value; }
        }

        ///<Summary>
        /// 操作类型
        ///</Summary>
        public Enum.DistributeCodeOperateType OperateType { get; set; }
        #endregion
    }
}
